package com.gxa.community.core.pojo.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.validation.constraints.Null;

/**
 * <p>
 * 满减记录表
 * </p>
 *
 * @author XYJ
 * @since 2022-07-20
 */
@TableName("operate_full_record")
@ApiModel(value = "OperateFullRecord对象", description = "满减记录表")
public class OperateFullRecord implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("自增di")
      @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("用户no")
    private String userNo;

    @ApiModelProperty("商品数量")
    private Integer num;

    @ApiModelProperty("支付金额	")
    private BigDecimal amount;

    @ApiModelProperty("开始时间")
    private Long startTime;

    @ApiModelProperty("结束时间")
    private Long endTime;

    @ApiModelProperty("订单编号")
    private String orderOn;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUserNo() {
        return userNo;
    }

    public void setUserNo(String userNo) {
        this.userNo = userNo;
    }

    public Integer getNum() {
        return num;
    }

    public void setNum(Integer num) {
        this.num = num;
    }

    public BigDecimal getAmount() {
        return amount;
    }

    public void setAmount(BigDecimal amount) {
        this.amount = amount;
    }

    public Long getStartTime() {
        return startTime;
    }

    public void setStartTime(Long startTime) {
        this.startTime = startTime;
    }

    public Long getEndTime() {
        return endTime;
    }

    public void setEndTime(Long endTime) {
        this.endTime = endTime;
    }

    public String getOrderOn() {
        return orderOn;
    }

    public void setOrderOn(String orderOn) {
        this.orderOn = orderOn;
    }

    @Override
    public String toString() {
        return "OperateFullRecord{" +
        "id=" + id +
        ", userNo=" + userNo +
        ", num=" + num +
        ", amount=" + amount +
        ", startTime=" + startTime +
        ", endTime=" + endTime +
        ", orderOn=" + orderOn +
        "}";
    }
}
